<?php
namespace laiq\base;

use laiq\db\Medoo;

class Model extends Medoo
{
	public function __construct()
    {
        if (!$this->pdo) {
            parent::__construct([
                'database_type' => 'mysql',
                'database_name' => DB_NAME,
                'server' => DB_HOST,
                'username' => DB_USER,
                'password' => DB_PASS
            ]);
        }
    }
}